/*
 * Copyright @ 苏州瑞云信息技术有限公司 All rights reserved.
 */
package cn.com.recloud.bbs.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import cn.com.recloud.one.spring.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author herry
 * @date 2020-06-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bbs_campaign")
@ApiModel(value="Campaign对象", description="")
public class bbs_campaign extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "uuid")
    @TableId(value = "bbs_campaignid", type = IdType.ASSIGN_UUID)
    private String bbs_campaignid;

    @ApiModelProperty(value = "活动编号，BC年月日+4位流水")
    private String code;

    @ApiModelProperty(value = "封面")
    private String avatar;

    @ApiModelProperty(value = "启动页")
    private String start_page;

    @ApiModelProperty(value = "主讲人")
    private String speaker;
    @ApiModelProperty(value = "主讲人介绍")
    @TableField("speaker_brief")
    private String speaker_brief;
    @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
    private Date start_time;
    @ApiModelProperty(value = "结束时间")
    @TableField("end_time")
    private Date end_time;

    @ApiModelProperty(value = "省份id")
    private String proviceid;

    @ApiModelProperty(value = "城市id")
    private String cityid;

    @ApiModelProperty(value = "区县id")
    private String countyid;

    @ApiModelProperty(value = "活动地点")
    private String address;

    @ApiModelProperty(value = "是否在启动页展示")
    @TableField("is_display_start_page")
    private Boolean is_display_start_page;

    @ApiModelProperty(value = "活动简介")
    @TableField("campaign_brief")
    private String campaign_brief;

    @ApiModelProperty(value = "活动状态")
    @TableField("bbs_campaign_status")
    private String bbs_campaign_status;

    @TableField("bbs_campaign_statusname")
    private String bbs_campaign_statusname;

    @ApiModelProperty(value = "发布人")
    private String releasedby;

    @ApiModelProperty(value = "发布名称")
    private String releasedbyname;

    @ApiModelProperty(value = "发布时间")
    private Date releasedon;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "活动链接")
    @TableField("bbs_campaign_link")
    private String bbs_campaign_link;


}
